package com.boang.thread;

/*
    @author:sa
    @date:2024/11/25 14:23
*/
public class ThreadDemo01 extends Thread {
    ThreadDemo01(String name){
        super(name);
    }
    @Override
    public void run() {
        for (int i=0;i<10;i++){
            System.out.println(Thread.currentThread().getName()+":"+i);
        }
    }
}
